﻿namespace ABC.Core.Extentions
{
	public static class StringExtention
	{
		public static string Cut(this string value, int maxSize)
		{
			if (value.Length <= maxSize)
			{
				return value;
			}

			return string.Concat(value.Substring(0, maxSize), "...");
		}
	}
}